<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: mingz
  Date: 2018/5/1
  Time: 13:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/icon.css">
    <script type="text/javascript" src="/static/plugins/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugins/easyui/jquery.easyui.min.js"></script>
    <!--引入中文包-->
    <script type="text/javascript" src="/static/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/index.js"></script>

    <script type="text/javascript" src="/static/js/shop.js"></script>
</head>
<body>
    <%--员工表格--%>
    <table id="shop_datagrid">
    </table>

    <%--按钮--%>
    <div id="shop_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" data-options="plain:true" data-cmd="add"/>新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" data-options="plain:true" data-cmd="edit" />编辑</a>
        <a id = "state_btn" class="easyui-linkbutton" iconCls="icon-remove" data-options="plain:true" data-cmd="delete"/>停业</a>

        <%--高级查询--%>
        <!--多条件组合查询-->
        <input class="easyui-textbox" prompt="店铺名称/电话" id="keyword" />
        <a class="easyui-linkbutton" iconCls="icon-mysearch" plain="true"  data-cmd="query">查询</a>

    </div>
    <%--表单按钮--%>
    <div id="btn">
        <a class="easyui-linkbutton" iconCls="icon-add" data-options="plain:true" data-cmd="save"/>保存</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" data-options="plain:true"  data-cmd="cancel">取消</a>
    </div>




    <%--弹出窗口--%>
    <div id="shop_dialog" class="easyui-dialog" data-options="title:'编辑',iconCls:'icon-myedit',closed:true">
        <!--创建表单-->
        <form id="shop_form" method="post">
            <table align="center" style="margin-top:15px">
                <input type="hidden" name="id" id="shopId"/>
                <tr>
                    <td align="center">店铺名称:</td>
                    <td><input name="name" class="easyui-textbox"  prompt="请输入店铺名称" iconCls="icon-man"/></td>
                </tr>
                <tr>
                    <td align="center">店主姓名:</td>
                    <td><input name="shopmanager" class="easyui-textbox"  prompt="请输入姓名" iconCls="icon-man"
                    /></td>
                </tr>
                <tr id="psw">
                    <td align="center">行业类型:</td>
                    <td><input name="industryType" class="easyui-textbox"/></td>
                </tr>
                <tr>
                    <td align="center">电话:</td>
                    <td><input name="phone" class="easyui-textbox" prompt="请输入电话" /></td>
                </tr>
                <tr>
                    <td align="center">地址:</td>
                    <td><input name="address" class="easyui-textbox" prompt="请输入地址"/></td>
                </tr>
                <tr>
                    <td align="center">库存ID:</td>
                    <td><input name="productStock.id" class="easyui-textbox" prompt="请输入库存ID"/></td>
                </tr>
                <tr>
                    <td align="center">库存数量:</td>
                    <td><input name="productStock.storeNumber" class="easyui-textbox" prompt="请输入库存数量"/></td>
                </tr>
                <tr>
                    <td align="center">仓库ID:</td>
                    <td><input name="depotId" class="easyui-textbox" prompt="请输入仓库ID"/></td>
                </tr>
                <tr>
                    <td align="center">仓库名称:</td>
                    <td><input name="depotName" class="easyui-textbox" prompt="请输入仓库名称"/></td>
                </tr>


            </table>
        </form>
    </div>
</body>
</html>
